package com.squid.dataCenter.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.squid.base.common.bean.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据字典父节点实体
 *
 * @author jinhang1
 * @date 2024/06/26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "data_dictionary_parent_entity")
public class DataDictionaryParentEntity extends CommonEntity {
    /**
     * 代码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 名字
     */
    @TableField(value = "name")
    private String name;
}
